import request from "@/utils/request";


/**
 * 查询所有操作日志信息
 * @returns {*}
 */
export function getAllOperLog() {
    return request({
        url: '/system/api/operLog/getAllOperLog',
    })
}
// 条件查询操作日志分页
export const listForPage = (data) =>{
    return request({
        url: '/systemManager/operLog/selectOperLogByCond',
        method:"POST",
        data
    })
}
// 删除
export function deleteOperLogByIds(ids) {
    return request({
        url: `/systemManager/operLog/deleteOperLogByOperLogIds/${ids}`,
        method: 'delete'
    })
}

//清空
export function clearAllOperLog() {
    return request({
            url: `/systemManager/operLog/clearOperLog`,
        method: 'delete'
    })
}
